/**
 *  fileName:test_call
 *  time:2023/4/14
 *  todo:$END$
 */

let obj = {}

let fn = function () {
  console.log(`this ==> `, this)
}

fn()
fn.call(obj)

Function.prototype.my_call = function(obj) {
  obj.fn = this
  obj.fn()
  delete obj.fn
}
fn.my_call(obj)
